//***********************************************************************
//	File:		Projectile.cpp
//	Author:		
//	Course:		SGP 1405
//	Purpose:	
//***********************************************************************
//***********************************************************************
//	Purposfully left blank for all comments regarding this file 
//	
//	
//	
//***********************************************************************


#include "Projectile.h"




void Projectile::Update(float dt)
{
	Entity::Update(dt);
}

void Projectile::Render()
{
	Entity::Render(); 
}

void Projectile::HandleCollision(const IEntity* pOther)
{
	 Entity::HandleCollision(pOther);
}

void Projectile::HandleEvent( const SGD::Event* pEvent)
{
	
}

SGD::Rectangle Projectile::GetRect() const
{
	return SGD::Rectangle{}; 
}

void Projectile::SetOwnerType(Entity* ot)
{
	if (m_pOwnerType != nullptr)
	{
		m_pOwnerType->Release(); 
	}

	m_pOwnerType = ot; 

	if (m_pOwnerType != nullptr)
	{
		m_pOwnerType->AddRef(); 
	}
}
